package com.shop.loan.model.entity;

import com.shop.loan.model.common.RequestBase;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class LoanOrderPayLogByMybatis extends RequestBase {
    /**
     * 
     */
    private Long id;

    /**
     * 
     */
    private Long billId;

    /**
     * 还款时间
     */
    private Date createTime;

    /**
     * 
     */
    private Date deleteTime;

    /**
     * 
     */
    private Boolean isDelete;

    /**
     * 金额
     */
    private BigDecimal money;

    /**
     * 线上付款
     */
    private Boolean online;

    /**
     * 
     */
    private Long orderId;

    /**
     * 支付订单Id
     */
    private String payOrderId;

    /**
     * 还款类型
     */
    private Integer payType;

    /**
     * 还款方式
     */
    private Integer paymentType;

    /**
     * 期数
     */
    private Integer period;

    /**
     * 备注
     */
    private String remark;

    /**
     * 
     */
    private Long userId;

    private List<Long> userIds;


    private Integer overdueDayStart;
    private Integer overdueDayEnd;

    //1：售后   2：催收
    private Integer searchType;


    private Long afterServiceId;

    private Long authServiceId;

    private Long loanServiceId;

    private Long collectionServiceId;

    private Long channelId;

    private String endTimeByPay;
    private String startTimeByPay;

    public LoanOrderPayLogByMybatis(Long id, Long billId, Date createTime, Date deleteTime, Boolean isDelete, BigDecimal money, Boolean online, Long orderId, String payOrderId, Integer payType, Integer paymentType, Integer period, String remark, Long userId) {
        this.id = id;
        this.billId = billId;
        this.createTime = createTime;
        this.deleteTime = deleteTime;
        this.isDelete = isDelete;
        this.money = money;
        this.online = online;
        this.orderId = orderId;
        this.payOrderId = payOrderId;
        this.payType = payType;
        this.paymentType = paymentType;
        this.period = period;
        this.remark = remark;
        this.userId = userId;
    }

    public LoanOrderPayLogByMybatis() {
        super();
    }

    /**
     * 获取
     * @return id 
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return bill_id 
     */
    public Long getBillId() {
        return billId;
    }

    /**
     * 设置
     * @param billId 
     */
    public void setBillId(Long billId) {
        this.billId = billId;
    }

    /**
     * 获取还款时间
     * @return create_time 还款时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置还款时间
     * @param createTime 还款时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return delete_time 
     */
    public Date getDeleteTime() {
        return deleteTime;
    }

    /**
     * 设置
     * @param deleteTime 
     */
    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    /**
     * 获取
     * @return is_delete 
     */
    public Boolean getIsDelete() {
        return isDelete;
    }

    /**
     * 设置
     * @param isDelete 
     */
    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 获取金额
     * @return money 金额
     */
    public BigDecimal getMoney() {
        return money;
    }

    /**
     * 设置金额
     * @param money 金额
     */
    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    /**
     * 获取线上付款
     * @return online 线上付款
     */
    public Boolean getOnline() {
        return online;
    }

    /**
     * 设置线上付款
     * @param online 线上付款
     */
    public void setOnline(Boolean online) {
        this.online = online;
    }

    /**
     * 获取
     * @return order_id 
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置
     * @param orderId 
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取支付订单Id
     * @return pay_order_id 支付订单Id
     */
    public String getPayOrderId() {
        return payOrderId;
    }

    /**
     * 设置支付订单Id
     * @param payOrderId 支付订单Id
     */
    public void setPayOrderId(String payOrderId) {
        this.payOrderId = payOrderId == null ? null : payOrderId.trim();
    }

    /**
     * 获取还款类型
     * @return pay_type 还款类型
     */
    public Integer getPayType() {
        return payType;
    }

    /**
     * 设置还款类型
     * @param payType 还款类型
     */
    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    /**
     * 获取还款方式
     * @return payment_type 还款方式
     */
    public Integer getPaymentType() {
        return paymentType;
    }

    /**
     * 设置还款方式
     * @param paymentType 还款方式
     */
    public void setPaymentType(Integer paymentType) {
        this.paymentType = paymentType;
    }

    /**
     * 获取期数
     * @return period 期数
     */
    public Integer getPeriod() {
        return period;
    }

    /**
     * 设置期数
     * @param period 期数
     */
    public void setPeriod(Integer period) {
        this.period = period;
    }

    /**
     * 获取备注
     * @return remark 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 获取
     * @return user_id 
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId 
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }
}